using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DataGridSample
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void panel1_GotFocus(object sender, EventArgs e)
        {

        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            SetLabels();
        }

        private void SetLabels()
        {
            label7.Text = "Producer: " + comboBox1.SelectedItem;
        }

        private void label7_ParentChanged(object sender, EventArgs e)
        {

        }
    }
}